package com.china08.yxyapi.entity.mg.esbag;

import java.util.Date;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 授课包基本信息
 * 
 * @author Richard.Wang
 * @descript
 */
@Document(collection = "yxy.tea.esbag.teaching.report")
public class YxyEsbagTeachingReport extends MongoBaseEntityNoId {

    private static final long serialVersionUID = -295018179334903779L;

    /**
     * 授课包id, 此id使用授课包id
     */
    @Id
    private String id;

    /**
     * 学段id
     */
    @Field(value = "phase_id")
    private String phaseId;

    /**
     * 学段名称
     */
    @Field(value = "phase_name")
    private String phaseName;

    /**
     * 学科id
     */
    @Field(value = "subject_id")
    private String subjectId;

    /**
     * 学科名称
     */
    @Field(value = "subject_name")
    private String subjectName;

    /**
     * 版本id
     */
    @Field(value = "version_id")
    private String versionId;

    /**
     * 版本名称
     */
    @Field(value = "version_name")
    private String versionName;

    /**
     * 学期id
     */
    @Field(value = "semester_id")
    private String semesterId;

    /**
     * 学期名称，一年级上册，必修，选修
     */
    @Field(value = "semester_name")
    private String semesterName;

    /**
     * 目录id
     */
    @Field(value = "bookcontents_id")
    private String bookcontentsId;

    /**
     * 目录id
     */
    @Field(value = "bookcontents_Name")
    private String bookcontentsName;

    /**
     * 授课包名称
     */
    @Field(value = "pack_name")
    private String packName;

    @Indexed
    @Field(value = "teacher_id")
    private String teacherId;

    @Field(value = "teacher_nick")
    private String teacherNick;

    @Field(value = "school_id")
    private String schoolId;

    @Field(value = "school_nick")
    private String schoolNick;

    /**
     * 备授课时间
     */
    @Field(value = "pre_date")
    private Date preDate;

    /**
     * 授课时长, 使用秒进行记录.
     */
    @Field(value = "user_time")
    private Long userTime;

    /**
     * 授课班级
     */
    @Field(value = "class_id")
    private String classId;

    /**
     * 授课班级名称
     */
    @Field(value = "class_name")
    private String className;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPackName() {
        return packName;
    }

    public void setPackName(String packName) {
        this.packName = packName;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherNick() {
        return teacherNick;
    }

    public void setTeacherNick(String teacherNick) {
        this.teacherNick = teacherNick;
    }

    public String getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(String schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolNick() {
        return schoolNick;
    }

    public void setSchoolNick(String schoolNick) {
        this.schoolNick = schoolNick;
    }

    public Date getPreDate() {
        return preDate;
    }

    public void setPreDate(Date preDate) {
        this.preDate = preDate;
    }

    public Long getUserTime() {
        return userTime;
    }

    public void setUserTime(Long userTime) {
        this.userTime = userTime;
    }

    public String getClassId() {
        return classId;
    }

    public void setClassId(String classId) {
        this.classId = classId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getPhaseId() {
        return phaseId;
    }

    public void setPhaseId(String phaseId) {
        this.phaseId = phaseId;
    }

    public String getPhaseName() {
        return phaseName;
    }

    public void setPhaseName(String phaseName) {
        this.phaseName = phaseName;
    }

    public String getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(String subjectId) {
        this.subjectId = subjectId;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getSemesterId() {
        return semesterId;
    }

    public void setSemesterId(String semesterId) {
        this.semesterId = semesterId;
    }

    public String getSemesterName() {
        return semesterName;
    }

    public void setSemesterName(String semesterName) {
        this.semesterName = semesterName;
    }

    public String getBookcontentsId() {
        return bookcontentsId;
    }

    public void setBookcontentsId(String bookcontentsId) {
        this.bookcontentsId = bookcontentsId;
    }

    public String getBookcontentsName() {
        return bookcontentsName;
    }

    public void setBookcontentsName(String bookcontentsName) {
        this.bookcontentsName = bookcontentsName;
    }

}
